<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" />
    <link rel="stylesheet" href="./cart.css" />

    <script src="../js/cookie.js"></script>
    <script src="../js/ajax.js"></script>
    <script src="./car.js"></script>
</head>

<body>
    <div class="container">
        <div class="panel panel-default" id="cart">
            <div class="panel-heading">
                <h3 class="panel-title">
                    <p>
                        <input type="checkbox" class="allChecked" />
                        <span>全选</span>
                    </p>
                    <p>
                        商品种类：
                        <span class="goodsType">0</span>
                    </p>
                    <p>
                        所选商品数量：
                        <span class="goodsQty">0</span>
                    </p>
                    <p>
                        所选商品价格：
                        <span class="goodsPrice">0</span>
                    </p>
                    <p>
                        <button type="button" class="btn btn-xs btn-success">
                            结算
                        </button>
                        <button type="button" class="btn btn-xs btn-info">
                            清空
                        </button>
                    </p>
                    <p id="p1">
                        <button type="button">回到列表页</button>
                    </p>
                    <p id="p2">
                        <button type="button">回到上一个页面</button>
                    </p>
                </h3>
            </div>

            <div class="panel-body content">
                <!-- <div class="media">
                    <div class="media-left media-middle">
                        <input type="checkbox" />
                        <a href="#">
                            <img class="media-object"
                                src="https://image4.suning.cn/uimg/b2c/newcatentries/0070081143-000000000131021736_2_200x200.jpg"
                                alt="..." />
                        </a>
                    </div>
                    <div class="media-body">
                        <h4 class="media-heading">
                            专柜同款 恒源祥100%纯羊毛围巾男女通用围脖
                            5503驼色
                        </h4>
                        <p class="price">
                            <span class="glyphicon glyphicon glyphicon-jpy" aria-hidden="true"></span>
                            <span>29.00</span>
                        </p>
                        <div class="btns">
                            <button class="btn btn-danger btn-sm">删除商品</button>
                            <div class="btn-group" role="group">
                                <button type="button" class="btn disabled btn-sm btn-default">
                                    -
                                </button>
                                <button type="button" class="btn btn-sm btn-default">
                                    1
                                </button>
                                <button type="button" class="btn btn-sm btn-default">
                                    +
                                </button>
                            </div>
                        </div>
                    </div>
                </div> -->

            </div>
        </div>
    </div>

    <script>
        console.log(100);
        console.log(520);
        var p1 = document.getElementById("p1");
        var p2 = document.getElementById("p2");
        p1.onclick = function () {
            location.href = "../360login.html";
        }
        p2.onclick = function () {
            history.back();
        }
    </script>
</body>

</html>